home *** CD-ROM | disk | FTP | other *** search
- unit SteveAddIn_TLB;
-
- // ************************************************************************ //
- // WARNING //
- // ------- //
- // The types declared in this file were generated from data read from a //
- // Type Library. If this type library is explicitly or indirectly (via //
- // another type library referring to this type library) re-imported, or the //
- // 'Refresh' command of the Type Library Editor activated while editing the //
- // Type Library, the contents of this file will be regenerated and all //
- // manual modifications will be lost. //
- // ************************************************************************ //
-
- // PASTLWTR : $Revision: 1.11.1.75 $
- // File generated on 8/2/99 3:20:29 AM from Type Library described below.
-
- // ************************************************************************ //
- // Type Lib: X:\My Documents\DelphiMag\DelphiMag,Sep99\SteveAddIn.tlb
- // IID\LCID: {7CFA22BC-9A8C-439B-BBCB-86AFB384C39D}\0
- // Helpfile:
- // HelpString: Project1 Library
- // Version: 1.0
- // ************************************************************************ //
-
- interface
-
- uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL,
- AddInDesignerObjects_TLB;
-
- // *********************************************************************//
- // GUIDS declared in the TypeLibrary. Following prefixes are used: //
- // Type Libraries : LIBID_xxxx //
- // CoClasses : CLASS_xxxx //
- // DISPInterfaces : DIID_xxxx //
- // Non-DISP interfaces: IID_xxxx //
- // *********************************************************************//
- const
- LIBID_SteveAddIn: TGUID = '{7CFA22BC-9A8C-439B-BBCB-86AFB384C39D}';
- IID_ISteveAddIn: TGUID = '{3466B12F-5846-46BD-B561-13ACA8F7C591}';
- CLASS_SteveAddIn_: TGUID = '{8264FC01-ABE2-44AF-96F6-70DE94C219C7}';
- type
-
- // *********************************************************************//
- // Forward declaration of interfaces defined in Type Library //
- // *********************************************************************//
- ISteveAddIn = interface;
- ISteveAddInDisp = dispinterface;
-
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library //
- // (NOTE: Here we map each CoClass to its Default Interface) //
- // *********************************************************************//
- SteveAddIn_ = ISteveAddIn;
-
-
- // *********************************************************************//
- // Interface: ISteveAddIn
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {3466B12F-5846-46BD-B561-13ACA8F7C591}
- // *********************************************************************//
- ISteveAddIn = interface(_IDTExtensibility2)
- ['{3466B12F-5846-46BD-B561-13ACA8F7C591}']
- end;
-
- // *********************************************************************//
- // DispIntf: ISteveAddInDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {3466B12F-5846-46BD-B561-13ACA8F7C591}
- // *********************************************************************//
- ISteveAddInDisp = dispinterface
- ['{3466B12F-5846-46BD-B561-13ACA8F7C591}']
- procedure OnConnection(const Application_: IDispatch; ConnectMode: ext_ConnectMode;
- const AddInInst: IDispatch; var custom: {??PSafeArray} OleVariant); dispid 1;
- procedure OnDisconnection(RemoveMode: ext_DisconnectMode; var custom: {??PSafeArray} OleVariant); dispid 2;
- procedure OnAddInsUpdate(var custom: {??PSafeArray} OleVariant); dispid 3;
- procedure OnStartupComplete(var custom: {??PSafeArray} OleVariant); dispid 4;
- procedure OnBeginShutdown(var custom: {??PSafeArray} OleVariant); dispid 5;
- end;
-
- CoSteveAddIn_ = class
- class function Create: ISteveAddIn;
- class function CreateRemote(const MachineName: string): ISteveAddIn;
- end;
-
- implementation
-
- uses ComObj;
-
- class function CoSteveAddIn_.Create: ISteveAddIn;
- begin
- Result := CreateComObject(CLASS_SteveAddIn_) as ISteveAddIn;
- end;
-
- class function CoSteveAddIn_.CreateRemote(const MachineName: string): ISteveAddIn;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_SteveAddIn_) as ISteveAddIn;
- end;
-
- end.
-